package lab04.test04;

/**
 * Created by Adminitrator on 2017/12/14.
 */
public class PrintThread extends Thread {
    @Override
    public void run() {
        super.run();
        //完成计数功能即向控制台依次递减的输出5，4，3，2，1
        int i=5;
        while (i>=1){
            System.out.println(i);
            i--;
        }
    }
}
